home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / CUJ9209.ARJ / 1009060A < prev    next >
Text File  |  1992-05-21  |  923b  |  30 lines

  1. /*                    Listing 2                     */
  2. /*****************************************************
  3.                 Name: PAR_COMM.H
  4.          Description: Include file for PAR_COMM.C
  5.          Portability: MS-DOS Microsoft C or Borland C
  6. *****************************************************/
  7. #if !defined ( PAR_COMM_DEFINED )
  8.  
  9.     unsigned correct_bios_status( unsigned Status );
  10.     unsigned correct_port_status( unsigned Status );
  11.     unsigned get_prn_port( unsigned PrnNum );
  12.     unsigned in_bios_nibble( unsigned PrnNum );
  13.     unsigned in_bios_status( unsigned PrnNum );
  14.     unsigned in_port_nibble( unsigned PrnPort );
  15.    unsigned in_port_status( unsigned PrnPort );
  16.    unsigned invert_bit( unsigned Val, unsigned Bit );
  17.  
  18.    #if !defined ( LPT1 )
  19.       #define LPT1 0
  20.       #define LPT2 1
  21.       #define LPT3 2
  22.       #define LPT4 3
  23.    #endif
  24.  
  25.    #define PAR_COMM_DEFINED
  26.  
  27. #endif
  28.  
  29. /* End of File */
  30.